package com.order.client.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 客户管理对象 order_user
 * 
 * @author huhu
 * @date 2020-08-20
 */
public class OrderUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long userId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 用户性别1是男0是女 */
    @Excel(name = "用户性别1是男0是女")
    private String userGender;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String userAvatar;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String phone;

    /** 用户密码 */
    @Excel(name = "用户密码")
    private String password;

    /** 用户余额 */
    @Excel(name = "用户余额")
    private BigDecimal userBalance;

    /** 用户状态0：正常1：禁掉，表示删除 */
    @Excel(name = "用户状态0：正常1：禁掉，表示删除")
    private String status;

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setUserGender(String userGender)
    {
        this.userGender = userGender;
    }

    public String getUserGender()
    {
        return userGender;
    }
    public void setUserAvatar(String userAvatar)
    {
        this.userAvatar = userAvatar;
    }

    public String getUserAvatar()
    {
        return userAvatar;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword()
    {
        return password;
    }
    public void setUserBalance(BigDecimal userBalance)
    {
        this.userBalance = userBalance;
    }

    public BigDecimal getUserBalance()
    {
        return userBalance;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userGender", getUserGender())
            .append("userAvatar", getUserAvatar())
            .append("phone", getPhone())
            .append("password", getPassword())
            .append("createTime", getCreateTime())
            .append("userBalance", getUserBalance())
            .append("status", getStatus())
            .toString();
    }
}
